<template>
		<u-button :hairline='false' :plain='plain' color="#ee3636" :custom-style="btnStyle" @tap="onTap">
			<slot/>
		</u-button>
</template>

<script>
	export default {
		name:"bg-btn",
		props:['plain'],
		data() {
			return {
				btnStyle:{
					width:"100%",
					height:"90rpx"
				}
			};
		},
		methods:{
			onTap(){
				this.$emit("click", true)
				this.$emit("tap", true)
			}
		}
	}
</script>

<style>

</style>